coloreditor: Scale h value to 360
authorTimm Bäder <mail@baedert.org>
Sat, 15 Feb 2020 09:25:41 +0000 (10:25 +0100)
committerTimm Bäder <mail@baedert.org>
Sat, 15 Feb 2020 16:18:27 +0000 (17:18 +0100)
Fixes #1321

gtk/gtkcoloreditor.c

index e4d610ec78724a7ef42c7fe3d463516c2174dfce..6f3ac11b6d6953244a2e7bfd40b9acd4b0fd076c 100644 (file)
@@ -394,7 +394,7 @@ gtk_color_editor_init (GtkColorEditor *editor)
    * supported by template GtkBuilder xml (it would be possible to set this up in the xml
    * but require 4 separate callbacks and would be rather ugly).
    */
-  gtk_spin_button_set_adjustment (GTK_SPIN_BUTTON (editor->priv->h_entry), scaled_adjustment (editor->priv->h_adj, 100));
+  gtk_spin_button_set_adjustment (GTK_SPIN_BUTTON (editor->priv->h_entry), scaled_adjustment (editor->priv->h_adj, 360));
   gtk_spin_button_set_adjustment (GTK_SPIN_BUTTON (editor->priv->s_entry), scaled_adjustment (editor->priv->s_adj, 100));
   gtk_spin_button_set_adjustment (GTK_SPIN_BUTTON (editor->priv->v_entry), scaled_adjustment (editor->priv->v_adj, 100));
   gtk_spin_button_set_adjustment (GTK_SPIN_BUTTON (editor->priv->a_entry), scaled_adjustment (editor->priv->a_adj, 100));